#ifndef HASHTABLE_H
#define HASHTABLE_H

#include "List.h"
#include "TElement.h"
#include "IInformation.h"
#include "SharedPointer.h"
#include "../Scanner/Token.h"

class HashTable {
private:
	List<SharedPointer<IInformation> >* table;
	size_t hash(char* word);
	size_t size;

public:
	HashTable();
	virtual ~HashTable() {
	}
	IInformation* insert(char* lexem, TokenType type);
	IInformation* lookup(char* word);
};

#endif
